﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;

namespace OrganizerLibrary
{
    public class OrganizerContext
    {
        public DirectoryInfo WatchDirectory;

        private OrganizerContext(DirectoryInfo watchDirectory)
        {
            WatchDirectory = watchDirectory;
        }

        public static OrganizerContext Instantiate(String watchDirectoryPath)
        {
            DirectoryInfo watchDirectory = new DirectoryInfo(watchDirectoryPath);
            return new OrganizerContext(watchDirectory);
        }
    }
}
